package regularizer;

/**
 * Interface for regularization term
 * @author tigerzhong
 *
 */
public interface Regularizer {
    /**
     * Get the value
     * @param w
     * @return value of regularizer
     */
    public double getValue(double w[]);
    /**
     * Get the deviation of the regularizer
     * @param wi
     * @return deviation of the regularizer
     */
    public double getDev(double wi);
}
